import request from "@/utils/request";

// 获取会员管理数据
export function getMyuserData(data) {
  return request({
    url: "/admin/user/list",
    method: "get",
    data,
  });
}
// 获取收货地址数据
export function getAddressData(data) {
  return request({
    url: "/admin/address/list",
    method: "get",
    data,
  });
}
// 获取会员收藏数据
export function getCollectData(data) {
  return request({
    url: "/admin/collect/list",
    method: "get",
    data,
  });
}
// 获取会员足迹数据
export function getFootprintData(data) {
  return request({
    url: "/admin/footprint/list",
    method: "get",
    data,
  });
}
// 获取搜索历史数据
export function getHistoryData(data) {
  return request({
    url: "/admin/history/list",
    method: "get",
    data,
  });
}
// 获取意见反馈数据
export function getOpinionData(data) {
  return request({
    url: "/admin/feedback/list",
    method: "get",
    data,
  });
}
